// tabBarComponent/tabBar.js
const app = getApp();


Component({
  /**
   * 组件的属性列表
   */
  properties: {
    tabbar: {
      type: Object,
      value: {
        "backgroundColor": "#ffffff",
        "color": "#979795",
        "selectedColor": "#1c1c1b",
        "list": [
          {
            "pagePath": "/pages/index/index",
            "text": "首页",
            "iconPath": "../../images/shouye_white.png",
            "selectedIconPath": "../../images/shouye_blue.png"
          },
          {
            "pagePath": "/pages/mine/mine",
            "isSpecial": true,
            "text": "虚拟卡",
            "iconPath": "../../images/erweima.png",
            "selectedIconPath": "../../images/erweima.png"
          },

          {
            "pagePath": "/pages/mine/mine",
            "text": "账号",
            "iconPath": "../../images/zhanghao_white.png",
            "selectedIconPath": "../../images/zhanghao_blue.png"
          }
        ]
      }
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
  },
  methods: {
    shareTherelease(e) {
    },

    shareTherelease2(e){
      wx.navigateTo({
        url: e.currentTarget.dataset.url
      })

    }
  }

})

